package com.itheima.service;

import com.itheima.pojo.Order;
import com.itheima.pojo.OrderReturn;
import com.itheima.pojo.OrderSubmit;

public interface OrderService {

    /**
     * 根据预约id查询体检预约信息
     * @param id
     * @return
     */
    OrderReturn findById(Integer id);

    /**
     * 体检预约
     * @param orderSubmit
     * @return
     */
    Integer submitOrder(OrderSubmit orderSubmit) throws Exception;
}
